package com.ailanyin.modules.search.mapper;

import com.ailanyin.modules.search.domain.TestEs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author ailanyin
 * @version 1.0
 * @since 2022/9/29 0029 上午 10:32
 */
@Mapper
public interface TestMapper {

    /**
     * 查询全部
     *
     * @return list
     */
    @Select("select id,title from test")
    List<TestEs> selectAll();
}
